UkrSolution\BarcodeScanner\API\classes\Results D

Total Complexity 240
Dependencies 10
Dependents 7
Total lines 1,046
Lines of code 786
Logical lines of code 479
Comment lines 0
Methods 26
Properties 3

Methods 26

Method Rating Maintainability Complexity Lines of code
assignProps()
D
26
45 118
assignOrderProps()
D
20
38 220
formatCartScannerItem()
B
38 23 59
formatCartItem()
B
39 23 56
getFieldPrice()
A
55 10 16
postsPrepare()
A
53 9 23
getChildren()
A
53 9 22
getAttributesLabels()
A
51 8 27
formatPostToRedirect()
A
52 8 23
prepareVariationPreview()
S
50 7 30
ordersPrepare()
S
58 7 15
productsPrepare()
S
58 7 15
getRequiredProductAttributes()
S
54 6 22
findLocalAttributeValues()
S
55 6 19
getUserProductTaxRates()
S
57 6 16
getUserProductTaxClass()
S
57 6 15
getProductPrice()
S
60 5 14
getLocations()
S
61 3 12
formatOrder()
S
63 3 11
getUserShippingPriceTax()
S
60 2 13
getUserProductTax()
S
62 2 11
getNotes()
S
68 2 8
formatProduct()
S
68 2 7
clearPrice()
S
72 1 5
getThumbnailUrl()
S
75 1 4
jsonResponse()
S
73 1 5